package com.wsc.wisdomchinaqinghe.activitity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.wsc.wisdomchinaqinghe.BuildConfig;
import com.wsc.wisdomchinaqinghe.R;
import com.wsc.wisdomchinaqinghe.activitity.baseactivity.BaseActivity;


public class AboutMineActivity extends BaseActivity {

    private ImageView regist_back;
    private TextView tv_headtitle,tv_version;
    private RelativeLayout user_procontrol;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.aboutmine_layout);
        tv_version=(TextView) findViewById(R.id.tv_version);
        regist_back=(ImageView) findViewById(R.id.regist_back);
        regist_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        tv_headtitle=(TextView) findViewById(R.id.tv_headtitle);
        tv_headtitle.setText("关于我们");

        user_procontrol=(RelativeLayout) findViewById(R.id.user_procontrol);
        user_procontrol.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(AboutMineActivity.this, ServiceProcontrolActivity.class));
            }
        });

        tv_version.setText("V"+BuildConfig.VERSION_NAME);
    }
}
